package com.bysj.lms.service;

import com.bysj.lms.pojo.entity.Role;
import com.bysj.lms.pojo.entity.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-02-04
 */
public interface IRolePermissionService extends IService<RolePermission> {

    //根据role_id得到permission_id
    Set<Integer> getPidByRid(List<Role> roles);

}
